<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String path = request.getContextPath();
%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<html:html locale="true">
<head>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
<title></title>
<link href="console.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 16px}
-->
.even {
	background:	#eee;
}

.odd {

}
</style>
<link href="../console.css" rel="stylesheet" type="text/css">
</head>

<body>
<jsp:include page="/title.jsp" flush="true"/>


	<p class="lnkhead2"><bean:message key="menu.timers"/></p>
	<form name="form" method="post" action="timer.do">
	<table width="779" >
	  <!--DWLayoutTable-->
	  <tr class="txtnormal2">
	    <td height="15" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
	    <td colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
	    <td width="69">&nbsp;</td>
	    <td width="367">&nbsp;</td>
	  </tr>
	  
	
	<tr class="txtnormal2">
	  <td height="25" align="right" ><bean:message key="menu.dataConnection"/>1</td>
	  <td colspan="2">
        <html:select name="config" size="1" property="database1" > 
        <option value=""><bean:message key="button.selectDataConnection"/></option>
<html:options name="databaselist"/> 
                </html:select>
        </td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
	</tr>
	<tr class="txtnormal2">
	  <td height="25" align="right" ><bean:message key="menu.dataConnection"/>2</td>
	  <td colspan="2" >
        <html:select name="config" size="1" property="database2" > 
        <option value=""><bean:message key="button.selectDataConnection"/></option>
<html:options name="databaselist"/> 
                </html:select>
        </td>
	  <td></td>
	  <td>&nbsp;</td>
	</tr>
	<tr class="txtnormal2">
	  <td height="25" align="right" ><bean:message key="time.driverDelegateClass"/></td>
	  <td colspan="2" >
        	<input type="text" size="65" name="driverDelegateClass" value='<bean:write name="driverDelegateClass" ignore="true"/>'/>
        </td>
	  <td></td>
	  <td>&nbsp;</td>
	</tr>
	<tr class="txtnormal2">
		<td>&nbsp;</td>
		<td colspan="3">
	  <bean:message key="time.note"/>
	  </td>
	  <td>&nbsp;</td>
	</tr>
	<tr class="txtnormal2">
	  <td width="87" height="43">&nbsp;</td>
	  <td width="56" valign="middle"><input  type="button" name="Submit" value="<bean:message key="button.update"/>" onclick="javascript:submit1()"></td>
	  <td width="68" valign="middle"><input type="reset" name="Submit2" value="<bean:message key="button.reset"/>"></td>
	  <td valign="middle">&nbsp;</td>
	  <td>&nbsp;</td>
	</tr>
	<tr>
	  <td height="149"></td>
	  <td>&nbsp;</td>
	  <td></td>
	  <td></td>
	  <td></td>
	</tr>
	<tr>
	  <td height="5"><img src="../images/spacer.gif" alt="" width="89" height="1"></td>
	  <td></td>
	  <td></td>
	  <td><img src="../images/spacer.gif" alt="" width="69" height="1"></td>
	  <td></td>
	</tr>
    </table>
    	<input type="hidden" name="act"/>
	</form>
	
	<logic:notEmpty name="returnMsg">
	<script>
	alert('<bean:write name="returnMsg"/>');
	</script>
	</logic:notEmpty>
	
	<script  language="JavaScript">
	 
	 function submit1(){
	var frm = document.forms["form"];
		frm.elements["act"].value="update";
	frm.submit();
	 }
	 
	
	</script>
<%@ include file="/bottom.jsp" %>
</body>
</html:html>



